Skip to content

fix(webapp): stop logging full batch item contents in batchTriggerV3 - #4404

Merged
carderne merged 3 commits into
mainfrom
fix/batch-trigger-item-log-sec-405
Jul 29, 2026
Merged

fix(webapp): stop logging full batch item contents in batchTriggerV3#4404
carderne merged 3 commits into
mainfrom
fix/batch-trigger-item-log-sec-405

Conversation

@carderne

@carderne carderne commented Jul 28, 2026

Copy link
Copy Markdown
Collaborator

Summary

The idempotency grouping diagnostic now records task identifiers and item counts rather than full batch items. This keeps the log useful for troubleshooting without including payloads or options.

Performance notes

Should be better than baseline.

@changeset-bot

changeset-bot Bot commented Jul 28, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 7a8a5c7

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@carderne
carderne force-pushed the fix/batch-trigger-item-log-sec-405 branch from 7f5f033 to a978755 Compare July 28, 2026 08:54
@coderabbitai

coderabbitai Bot commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 4ea87309-84e7-4198-bcbd-84cf0476acde

📥 Commits

Reviewing files that changed from the base of the PR and between 7a8a5c7 and 89d0eaa.

📒 Files selected for processing (1)
  • apps/webapp/app/v3/services/batchTriggerV3.server.ts
💤 Files with no reviewable changes (1)
  • apps/webapp/app/v3/services/batchTriggerV3.server.ts
📜 Recent review details
⏰ Context from checks skipped due to timeout. (18)
  • GitHub Check: webapp / 🧪 Unit Tests: Webapp (3, 12)
  • GitHub Check: webapp / 🧪 Unit Tests: Webapp (8, 12)
  • GitHub Check: webapp / 🧪 Unit Tests: Webapp (12, 12)
  • GitHub Check: webapp / 🧪 Unit Tests: Webapp (9, 12)
  • GitHub Check: webapp / 🧪 Unit Tests: Webapp (7, 12)
  • GitHub Check: webapp / 🧪 Unit Tests: Webapp (11, 12)
  • GitHub Check: webapp / 🧪 Unit Tests: Webapp (6, 12)
  • GitHub Check: webapp / 🧪 Unit Tests: Webapp (2, 12)
  • GitHub Check: webapp / 🧪 Unit Tests: Webapp (10, 12)
  • GitHub Check: webapp / 🧪 Unit Tests: Webapp (5, 12)
  • GitHub Check: webapp / 🧪 Unit Tests: Webapp (1, 12)
  • GitHub Check: webapp / 🧪 Unit Tests: Webapp (4, 12)
  • GitHub Check: e2e-webapp / 🧪 E2E Tests: Webapp
  • GitHub Check: typecheck / typecheck
  • GitHub Check: runops-guard / runops-guard
  • GitHub Check: code-quality / code-quality
  • GitHub Check: Build and publish previews
  • GitHub Check: Analyze (javascript-typescript)

Walkthrough

Removed a debug log in the batch trigger service that recorded the full itemsByTask grouped structure. The existing idempotency-key lookup computation remains unchanged.

🚥 Pre-merge checks | ✅ 3 | ❌ 2

❌ Failed checks (2 warnings)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description misses most required template sections, including issue link, checklist, testing, changelog, and screenshots. Add the required template sections: Closes #issue, checklist, testing steps, changelog, and screenshots placeholders or details.
Docstring Coverage ⚠️ Warning Docstring coverage is 50.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly matches the change: removing full batch item logging from batchTriggerV3.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches 💡 1
📝 Generate docstrings 💡
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/batch-trigger-item-log-sec-405

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@carderne
carderne marked this pull request as ready for review July 28, 2026 09:59

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Open in Devin Review

Comment thread apps/webapp/app/v3/services/batchTriggerV3.server.ts Outdated
carderne added 3 commits July 29, 2026 17:36
The idempotency grouping step logged every batch item verbatim,
including its payload and options (which can carry arbitrary
customer metadata). Replace that with a summary of task identifiers
and item counts, and add a unit test covering the summary shape.
@carderne
carderne force-pushed the fix/batch-trigger-item-log-sec-405 branch from 7a8a5c7 to 89d0eaa Compare July 29, 2026 16:37
@pkg-pr-new

pkg-pr-new Bot commented Jul 29, 2026

Copy link
Copy Markdown

Open in StackBlitz

@trigger.dev/build

npm i https://pkg.pr.new/@trigger.dev/build@89d0eaa

trigger.dev

npm i https://pkg.pr.new/trigger.dev@89d0eaa

@trigger.dev/core

npm i https://pkg.pr.new/@trigger.dev/core@89d0eaa

@trigger.dev/python

npm i https://pkg.pr.new/@trigger.dev/python@89d0eaa

@trigger.dev/react-hooks

npm i https://pkg.pr.new/@trigger.dev/react-hooks@89d0eaa

@trigger.dev/redis-worker

npm i https://pkg.pr.new/@trigger.dev/redis-worker@89d0eaa

@trigger.dev/rsc

npm i https://pkg.pr.new/@trigger.dev/rsc@89d0eaa

@trigger.dev/schema-to-json

npm i https://pkg.pr.new/@trigger.dev/schema-to-json@89d0eaa

@trigger.dev/sdk

npm i https://pkg.pr.new/@trigger.dev/sdk@89d0eaa

commit: 89d0eaa

@carderne
carderne merged commit a098171 into main Jul 29, 2026
37 checks passed
@carderne
carderne deleted the fix/batch-trigger-item-log-sec-405 branch July 29, 2026 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants